
public class Cell {
	private int comeFrom;
	public enum ArriveType { byDice, byLadder, bySnake };
	private ArriveType by;
	public Cell (int cf,ArriveType at)
	{
		comeFrom = cf;
		by = at;
	}
	public int getComeFrom()
	{
		return comeFrom ;
	}
	public String getArriveType()
	{
		return by.toString();
		
	}
}
